//
//  BaseTextField.m
//  Project
//
//  Created by 冯东辉 on 2018/9/17.
//  Copyright © 2018年 FengDongHui. All rights reserved.
//

#import "BaseTextField.h"

@implementation BaseTextField

/**
 * 禁止粘贴
 */
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender {
    
    UIMenuController*menuController = [UIMenuController sharedMenuController];
    
    if(menuController) {
        
        [UIMenuController sharedMenuController].menuVisible=NO;
    }
    
    return NO;
}

@end
